Setting(project): apps dev 서버 고정 port 지정 및 script 추가#270
Setting(project): apps dev 서버 고정 port 지정 및 script 추가#270constantly-dev merged 1 commit intodevelopfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
Walkthrough세 개의 Vite 설정 파일(클라이언트, 확장, 랜딩)에 서버 포트 설정을 추가했습니다(각각 5173, 5175, 5174). 동시에 package.json에 클라이언트 전용 개발 스크립트를 추가하여 개발 환경 포트 바인딩을 명시화했습니다. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
✅ Storybook chromatic 배포 확인: |
📌 Related Issues
📄 Tasks
⭐ PR Point (To Reviewer)
서버 환경 변수 설정으로 구글 소셜 로그인으로 redirect uri로 prod 버전과 localhost 5173 port를 지정해둔 상태예요.
따라서 개발할 대는 5173 port를 사용해야 로그인을 할 수 있는데, 모노레포 구조상 apps 하위 3개의 앱이 모두 매번 랜덤으로 포트가 열리는 상화이였어요.
로그인은
apps/client에서 사용하는데 5173 port가 아니면 매번 dev 서버를 다시 열어야 하는 불편함이 있었기에 이를client에는 5173 port가 되도록, 이외landing/extension도 5174/5175 port로 아예 고정을 했어요.따라서 앞으로 개발할때는 이를 신경쓰지 않아도 괜찮아요. 추가로 앞으로 할 대부분의 개발은
apps/client의 비중이 높을텐데 이를 위해와 같은 script를 root에 추가했으니 필요에 따라
pnpm dev가 아닌pnpm dev:client를 통해 개발을 진행하셔도 될 것 같아요.Summary by CodeRabbit